package com.code.provider;

import com.code.provider.proxy.RpcProxyServer;
import com.code.provider.service.HelloFacadeImpl;

/**
 * @author lyf
 * @date 2021-10-09 21:05
 */
public class ServerApp {

    public static void main(String[] args) throws Exception {

        HelloFacadeImpl helloFacade = new HelloFacadeImpl();

        RpcProxyServer rpcProxyServer = new RpcProxyServer();
        rpcProxyServer.publish(helloFacade,8080);

    }
}
